package com.lovejes.wloppor.domain.base;

import java.io.Serializable;


/**
 * This is an object that contains data related to the t_buss_oppor table.
 * Do not modify this class because it will be overwritten if the configuration file
 * related to this class is modified.
 *
 * @hibernate.class
 *  table="t_buss_oppor"
 */

public abstract class BaseTBussOppor  implements Serializable {

	public static String REF = "TBussOppor";
	public static String PROP_STATUS = "Status";
	public static String PROP_CRM = "Crm";
	public static String PROP_OPTYPE = "Optype";
	public static String PROP_REMARK = "Remark";
	public static String PROP_OPUSERNAME = "Opusername";
	public static String PROP_RECORDTIME = "Recordtime";
	public static String PROP_OPPRO = "Oppro";
	public static String PROP_KEYWORDS = "Keywords";
	public static String PROP_USERID = "Userid";
	public static String PROP_MODIFYTIME = "Modifytime";
	public static String PROP_ONEIN = "Onein";
	public static String PROP_NO = "No";
	public static String PROP_BACKNUMS = "Backnums";
	public static String PROP_CUSTTEL = "Custtel";
	public static String PROP_YEARRENTIN = "Yearrentin";
	public static String PROP_FLOWNODE = "Flownode";
	public static String PROP_VIP = "Vip";
	public static String PROP_FLOWINFO = "Flowinfo";
	public static String PROP_NAME = "Name";
	public static String PROP_CONTENT = "Content";
	public static String PROP_MODIFYUSERID = "Modifyuserid";
	public static String PROP_CUSTCONTNAME = "Custcontname";
	public static String PROP_CLICKS = "Clicks";
	public static String PROP_CPER = "Cper";
	public static String PROP_SFNUM = "Sfnum";
	public static String PROP_LASTBACKTIME = "Lastbacktime";
	public static String PROP_TOYEARRENTIN = "Toyearrentin";
	public static String PROP_BONUS = "Bonus";
	public static String PROP_TOSIGNTIME = "Tosigntime";
	public static String PROP_BUSSOPTYPE = "Bussoptype";
	public static String PROP_FLOWTIME = "Flowtime";
	public static String PROP_CUSTNAME = "Custname";
	public static String PROP_TOONEIN = "Toonein";
	public static String PROP_FINITIME = "Finitime";
	public static String PROP_AREA = "Area";
	public static String PROP_ID = "Id";


	// constructors
	public BaseTBussOppor () {
		initialize();
	}

	/**
	 * Constructor for primary key
	 */
	public BaseTBussOppor (java.lang.String id) {
		this.setId(id);
		initialize();
	}

	protected void initialize () {}



	private int hashCode = Integer.MIN_VALUE;

	// primary key
	private java.lang.String id;

	// fields
	private java.lang.String no;
	private java.lang.String name;
	private java.lang.String keywords;
	private java.lang.String optype;
	private java.lang.String bussoptype;
	private String content;
	private java.lang.String oppro;
	private java.lang.String area;
	private java.lang.String toonein;
	private java.lang.String toyearrentin;
	private java.lang.String onein;
	private java.lang.String yearrentin;
	private java.util.Date tosigntime;
	private java.util.Date finitime;
	private java.lang.String remark;
	private java.lang.String custname;
	private java.lang.String custcontname;
	private java.lang.String custtel;
	private java.lang.String opusername;
	private java.lang.String status;
	private java.lang.Integer clicks;
	private java.lang.Integer backnums;
	private java.util.Date lastbacktime;
	private java.lang.String modifyuserid;
	private java.util.Date modifytime;
	private java.lang.String userid;
	private java.util.Date recordtime;
	private java.lang.String flownode;
	private java.lang.String flowinfo;
	private java.util.Date flowtime;
	private java.lang.String cper;
	private java.lang.String crm;
	private java.lang.String vip;
	private java.lang.String sfnum;
	private java.lang.String bonus;



	/**
	 * Return the unique identifier of this class
     * @hibernate.id
     *  generator-class="uuid"
     *  column="ID"
     */
	public java.lang.String getId () {
		return id;
	}

	/**
	 * Set the unique identifier of this class
	 * @param id the new ID
	 */
	public void setId (java.lang.String id) {
		this.id = id;
		this.hashCode = Integer.MIN_VALUE;
	}




	/**
	 * Return the value associated with the column: NO
	 */
	public java.lang.String getNo () {
		return no;
	}

	/**
	 * Set the value related to the column: NO
	 * @param no the NO value
	 */
	public void setNo (java.lang.String no) {
		this.no = no;
	}



	/**
	 * Return the value associated with the column: NAME
	 */
	public java.lang.String getName () {
		return name;
	}

	/**
	 * Set the value related to the column: NAME
	 * @param name the NAME value
	 */
	public void setName (java.lang.String name) {
		this.name = name;
	}



	/**
	 * Return the value associated with the column: KEYWORDS
	 */
	public java.lang.String getKeywords () {
		return keywords;
	}

	/**
	 * Set the value related to the column: KEYWORDS
	 * @param keywords the KEYWORDS value
	 */
	public void setKeywords (java.lang.String keywords) {
		this.keywords = keywords;
	}



	/**
	 * Return the value associated with the column: OPTYPE
	 */
	public java.lang.String getOptype () {
		return optype;
	}

	/**
	 * Set the value related to the column: OPTYPE
	 * @param optype the OPTYPE value
	 */
	public void setOptype (java.lang.String optype) {
		this.optype = optype;
	}



	/**
	 * Return the value associated with the column: BUSSOPTYPE
	 */
	public java.lang.String getBussoptype () {
		return bussoptype;
	}

	/**
	 * Set the value related to the column: BUSSOPTYPE
	 * @param bussoptype the BUSSOPTYPE value
	 */
	public void setBussoptype (java.lang.String bussoptype) {
		this.bussoptype = bussoptype;
	}



	/**
	 * Return the value associated with the column: CONTENT
	 */
	public String getContent () {
		return content;
	}

	/**
	 * Set the value related to the column: CONTENT
	 * @param content the CONTENT value
	 */
	public void setContent (String content) {
		this.content = content;
	}



	/**
	 * Return the value associated with the column: OPPRO
	 */
	public java.lang.String getOppro () {
		return oppro;
	}

	/**
	 * Set the value related to the column: OPPRO
	 * @param oppro the OPPRO value
	 */
	public void setOppro (java.lang.String oppro) {
		this.oppro = oppro;
	}



	/**
	 * Return the value associated with the column: AREA
	 */
	public java.lang.String getArea () {
		return area;
	}

	/**
	 * Set the value related to the column: AREA
	 * @param area the AREA value
	 */
	public void setArea (java.lang.String area) {
		this.area = area;
	}



	/**
	 * Return the value associated with the column: TOONEIN
	 */
	public java.lang.String getToonein () {
		return toonein;
	}

	/**
	 * Set the value related to the column: TOONEIN
	 * @param toonein the TOONEIN value
	 */
	public void setToonein (java.lang.String toonein) {
		this.toonein = toonein;
	}



	/**
	 * Return the value associated with the column: TOYEARRENTIN
	 */
	public java.lang.String getToyearrentin () {
		return toyearrentin;
	}

	/**
	 * Set the value related to the column: TOYEARRENTIN
	 * @param toyearrentin the TOYEARRENTIN value
	 */
	public void setToyearrentin (java.lang.String toyearrentin) {
		this.toyearrentin = toyearrentin;
	}



	/**
	 * Return the value associated with the column: ONEIN
	 */
	public java.lang.String getOnein () {
		return onein;
	}

	/**
	 * Set the value related to the column: ONEIN
	 * @param onein the ONEIN value
	 */
	public void setOnein (java.lang.String onein) {
		this.onein = onein;
	}



	/**
	 * Return the value associated with the column: YEARRENTIN
	 */
	public java.lang.String getYearrentin () {
		return yearrentin;
	}

	/**
	 * Set the value related to the column: YEARRENTIN
	 * @param yearrentin the YEARRENTIN value
	 */
	public void setYearrentin (java.lang.String yearrentin) {
		this.yearrentin = yearrentin;
	}



	/**
	 * Return the value associated with the column: TOSIGNTIME
	 */
	public java.util.Date getTosigntime () {
		return tosigntime;
	}

	/**
	 * Set the value related to the column: TOSIGNTIME
	 * @param tosigntime the TOSIGNTIME value
	 */
	public void setTosigntime (java.util.Date tosigntime) {
		this.tosigntime = tosigntime;
	}



	/**
	 * Return the value associated with the column: FINITIME
	 */
	public java.util.Date getFinitime () {
		return finitime;
	}

	/**
	 * Set the value related to the column: FINITIME
	 * @param finitime the FINITIME value
	 */
	public void setFinitime (java.util.Date finitime) {
		this.finitime = finitime;
	}



	/**
	 * Return the value associated with the column: REMARK
	 */
	public java.lang.String getRemark () {
		return remark;
	}

	/**
	 * Set the value related to the column: REMARK
	 * @param remark the REMARK value
	 */
	public void setRemark (java.lang.String remark) {
		this.remark = remark;
	}



	/**
	 * Return the value associated with the column: CUSTNAME
	 */
	public java.lang.String getCustname () {
		return custname;
	}

	/**
	 * Set the value related to the column: CUSTNAME
	 * @param custname the CUSTNAME value
	 */
	public void setCustname (java.lang.String custname) {
		this.custname = custname;
	}



	/**
	 * Return the value associated with the column: CUSTCONTNAME
	 */
	public java.lang.String getCustcontname () {
		return custcontname;
	}

	/**
	 * Set the value related to the column: CUSTCONTNAME
	 * @param custcontname the CUSTCONTNAME value
	 */
	public void setCustcontname (java.lang.String custcontname) {
		this.custcontname = custcontname;
	}



	/**
	 * Return the value associated with the column: CUSTTEL
	 */
	public java.lang.String getCusttel () {
		return custtel;
	}

	/**
	 * Set the value related to the column: CUSTTEL
	 * @param custtel the CUSTTEL value
	 */
	public void setCusttel (java.lang.String custtel) {
		this.custtel = custtel;
	}



	/**
	 * Return the value associated with the column: OPUSERNAME
	 */
	public java.lang.String getOpusername () {
		return opusername;
	}

	/**
	 * Set the value related to the column: OPUSERNAME
	 * @param opusername the OPUSERNAME value
	 */
	public void setOpusername (java.lang.String opusername) {
		this.opusername = opusername;
	}



	/**
	 * Return the value associated with the column: STATUS
	 */
	public java.lang.String getStatus () {
		return status;
	}

	/**
	 * Set the value related to the column: STATUS
	 * @param status the STATUS value
	 */
	public void setStatus (java.lang.String status) {
		this.status = status;
	}



	/**
	 * Return the value associated with the column: CLICKS
	 */
	public java.lang.Integer getClicks () {
		return clicks;
	}

	/**
	 * Set the value related to the column: CLICKS
	 * @param clicks the CLICKS value
	 */
	public void setClicks (java.lang.Integer clicks) {
		this.clicks = clicks;
	}



	/**
	 * Return the value associated with the column: BACKNUMS
	 */
	public java.lang.Integer getBacknums () {
		return backnums;
	}

	/**
	 * Set the value related to the column: BACKNUMS
	 * @param backnums the BACKNUMS value
	 */
	public void setBacknums (java.lang.Integer backnums) {
		this.backnums = backnums;
	}



	/**
	 * Return the value associated with the column: LASTBACKTIME
	 */
	public java.util.Date getLastbacktime () {
		return lastbacktime;
	}

	/**
	 * Set the value related to the column: LASTBACKTIME
	 * @param lastbacktime the LASTBACKTIME value
	 */
	public void setLastbacktime (java.util.Date lastbacktime) {
		this.lastbacktime = lastbacktime;
	}



	/**
	 * Return the value associated with the column: MODIFYUSERID
	 */
	public java.lang.String getModifyuserid () {
		return modifyuserid;
	}

	/**
	 * Set the value related to the column: MODIFYUSERID
	 * @param modifyuserid the MODIFYUSERID value
	 */
	public void setModifyuserid (java.lang.String modifyuserid) {
		this.modifyuserid = modifyuserid;
	}



	/**
	 * Return the value associated with the column: MODIFYTIME
	 */
	public java.util.Date getModifytime () {
		return modifytime;
	}

	/**
	 * Set the value related to the column: MODIFYTIME
	 * @param modifytime the MODIFYTIME value
	 */
	public void setModifytime (java.util.Date modifytime) {
		this.modifytime = modifytime;
	}



	/**
	 * Return the value associated with the column: USERID
	 */
	public java.lang.String getUserid () {
		return userid;
	}

	/**
	 * Set the value related to the column: USERID
	 * @param userid the USERID value
	 */
	public void setUserid (java.lang.String userid) {
		this.userid = userid;
	}



	/**
	 * Return the value associated with the column: RECORDTIME
	 */
	public java.util.Date getRecordtime () {
		return recordtime;
	}

	/**
	 * Set the value related to the column: RECORDTIME
	 * @param recordtime the RECORDTIME value
	 */
	public void setRecordtime (java.util.Date recordtime) {
		this.recordtime = recordtime;
	}



	/**
	 * Return the value associated with the column: FLOWNODE
	 */
	public java.lang.String getFlownode () {
		return flownode;
	}

	/**
	 * Set the value related to the column: FLOWNODE
	 * @param flownode the FLOWNODE value
	 */
	public void setFlownode (java.lang.String flownode) {
		this.flownode = flownode;
	}



	/**
	 * Return the value associated with the column: FLOWINFO
	 */
	public java.lang.String getFlowinfo () {
		return flowinfo;
	}

	/**
	 * Set the value related to the column: FLOWINFO
	 * @param flowinfo the FLOWINFO value
	 */
	public void setFlowinfo (java.lang.String flowinfo) {
		this.flowinfo = flowinfo;
	}



	/**
	 * Return the value associated with the column: FLOWTIME
	 */
	public java.util.Date getFlowtime () {
		return flowtime;
	}

	/**
	 * Set the value related to the column: FLOWTIME
	 * @param flowtime the FLOWTIME value
	 */
	public void setFlowtime (java.util.Date flowtime) {
		this.flowtime = flowtime;
	}



	/**
	 * Return the value associated with the column: CPER
	 */
	public java.lang.String getCper () {
		return cper;
	}

	/**
	 * Set the value related to the column: CPER
	 * @param cper the CPER value
	 */
	public void setCper (java.lang.String cper) {
		this.cper = cper;
	}



	/**
	 * Return the value associated with the column: CRM
	 */
	public java.lang.String getCrm () {
		return crm;
	}

	/**
	 * Set the value related to the column: CRM
	 * @param crm the CRM value
	 */
	public void setCrm (java.lang.String crm) {
		this.crm = crm;
	}



	/**
	 * Return the value associated with the column: VIP
	 */
	public java.lang.String getVip () {
		return vip;
	}

	/**
	 * Set the value related to the column: VIP
	 * @param vip the VIP value
	 */
	public void setVip (java.lang.String vip) {
		this.vip = vip;
	}



	/**
	 * Return the value associated with the column: SFNUM
	 */
	public java.lang.String getSfnum () {
		return sfnum;
	}

	/**
	 * Set the value related to the column: SFNUM
	 * @param sfnum the SFNUM value
	 */
	public void setSfnum (java.lang.String sfnum) {
		this.sfnum = sfnum;
	}



	/**
	 * Return the value associated with the column: BONUS
	 */
	public java.lang.String getBonus () {
		return bonus;
	}

	/**
	 * Set the value related to the column: BONUS
	 * @param bonus the BONUS value
	 */
	public void setBonus (java.lang.String bonus) {
		this.bonus = bonus;
	}




	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof com.lovejes.wloppor.domain.TBussOppor)) return false;
		else {
			com.lovejes.wloppor.domain.TBussOppor tBussOppor = (com.lovejes.wloppor.domain.TBussOppor) obj;
			if (null == this.getId() || null == tBussOppor.getId()) return false;
			else return (this.getId().equals(tBussOppor.getId()));
		}
	}

	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getId()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getId().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}


	public String toString () {
		return super.toString();
	}


}